<?php
class ActStockDetail extends logCAr
{
	public static function model($className=__CLASS__)
	{
		return parent::model($className);
	}
	
	/* reset db */
	public function getDbConnection()
	{
		self::$db=Yii::app()->db1;
		if(self::$db instanceof CDbConnection) return self::$db;
	}

    public function relations()
    {

    }
	
    public function tableName()
	{
		return '{{act_stock_detail}}';
	}
    /* rules */
    public function rules()
    {
        return array(
            array('title', 'safe', 'on'=>'search'),
        );
    }
    public function search()
    {

    }



}